package com.joysuch.wwyt.bp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joysuch.wwyt.bp.bean.dto.KeyValueDTO;
import com.joysuch.wwyt.bp.entity.BpCommonNotifyRel;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

public interface BpCommonNotifyRelMapper extends BaseMapper<BpCommonNotifyRel> {

    List<KeyValueDTO<Long, Integer>> countByPlanAndType(@Param("relIds")Collection<Long> relIds,@Param("type") Integer type);

}
